import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path:'/',
      redirect:'/home'
    },
    {
      path:'/home',
      component: () => import('../views/home/home.vue')
    },
    {
      path:"/curve",
      component: () => import('../views/curve/curve.vue')
    },
    {
      path:"/henhouse",
      component: () => import('../views/henhouse/henhouse.vue')
    },
    {
      path:"/month",
      component: () => import('../views/month/month.vue')
    }
  ]
})

export default router
